import Layout from '@/new_layout'
export default [
  {
    path: '/users',
    component: Layout,
    redirect: '/users/list',
    name: 'users',
    meta: { title: '人员管理', icon: 'form', roles: ['就业'] },
    children: [
      {
        path: 'list',
        name: 'user-list',
        component: () => import('@/views/users/list'),
        meta: { title: '人员列表' }
      },
      {
        path: 'edit',
        name: 'users-edit',
        hidden: true,
        component: () => import('@/views/users/edit'),
        meta: { title: '编辑人员' }
      },
      {
        path: 'add',
        name: 'users-add',
        hidden: true,
        component: () => import('@/views/users/edit'),
        meta: { title: '新增人员' }
      }
    ]
  }
]
